import os
import dotenv
from langchain_openai import ChatOpenAI
from langchain_community.document_loaders import BiliBiliLoader

dotenv.load_dotenv()
openai_url = os.getenv('OPENAI_API_BASE')
api_key = os.getenv('OPENAI_API_KEY')

loader = BiliBiliLoader(["https://www.bilibili.com/video/BV1xt411o7Xu/"])
docs =loader.load()
print(docs)
